package com.itstu.gulimall.seckill.feign;

import com.itstu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author shhjiang_001
 * @create 2020-06-04 23:24
 */
@FeignClient("gulimall-product")
@Service
public interface ProductFeignService {
    @RequestMapping("product/skuinfo/info/{skuId}")
//  @RequiresPermissions("product:skuinfo:info")
    R info(@PathVariable("skuId") Long skuId);
}
